__author__ = 'wangleijie'
from nntplib import NNTP
from time import time ,localtime
day = 24*60*60
yesterday = localtime(time() - day);
print yesterday
from time import strftime
print strftime("%y%m%d", yesterday)

server = NNTP("news.foo.bar")
server.group("hello")